import Vue from 'vue'
import App from './App.vue'
import router from './router'



// 手册 https://element.eleme.cn/#/zh-CN/component/installation
import './plugins/element.js'
import './plugins/vueparticles.js'
import './plugins/vuetabletree.js'
import './plugins/selfdefineparams.js'


// 导入富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css' // import styles
import 'quill/dist/quill.snow.css' // for snow theme
import 'quill/dist/quill.bubble.css' // for bubble theme


import './utils/request.js'
import * as tools from'./utils/common.js'


Object.keys(tools).forEach(key => {
  Vue.prototype[key] = tools[key]
})



import * as filters from './filters' // global filters

// 导入字体图标  https://fa5.dashgame.com/#/%E5%9B%BE%E6%A0%87
import './assets/css/all.min.css'
// 导入全局样式表
import './assets/css/global.css'



// 项目请求 Mock 数据地址
// https://mock.yonyoucloud.com/mock/10918/airvip/



// register global utility filters
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})

// 将富文本编辑器注册为全局组件
Vue.use(VueQuillEditor)

// 生产环境关闭提示消息
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
